package com.hava.demo.springmvc.one.entity;

import com.hava.jpa.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by zhanpeng on 15-1-27.
 */
@Entity
@Table(name = "task")
public class Task extends IdEntity {
    
    private String title;
    private String description;
//    private  User user;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

//    public User getUser() {
//        return user;
//    }
//
//    public void setUser(User user) {
//        this.user = user;
//    }
}
